package com.link.base.base.contractsinfo.service;

import com.link.base.base.contractsinfo.model.ContractApprovalInfo;
import com.link.base.base.contractsinfo.model.ContractsInfo;
import com.link.core.basic.service.BasicService;

/**
 * @author liushoulong
 * @date 2018-11-06
 * @desc 合同信息Service
 */
public interface ContractsInfoService extends BasicService<ContractsInfo> {

    /**
     * 合同签约提交审批
     *
     * @param entity
     * @param approvalDetail
     * @throws Exception
     */
    public void contractSignSubmit(ContractsInfo entity, String approvalDetail) throws Exception;

    /**
     * 合同签约审批处理-审批成功后更新客户信息和合同信息
     *
     * @param entity
     * @throws Exception
     */
    public void contractSignObjectUpdate(ContractApprovalInfo entity) throws Exception;


    /**
     * 客户签约提交审批状态修改
     *
     * @param objectId
     * @param param1
     * @param param2
     * @param param3
     * @param param4
     * @param param5
     * @throws Exception
     */
    public void contractPrintStatusUpdate(Long objectId, String param1,
                                          String param2, String param3, String param4, String param5) throws Exception;

}
